package com.deshan.websys.code.model.vo;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "前端对轮播图CRUD时，传给后台的对象")
public class BlogrollVO implements Serializable {

	private static final long serialVersionUID = 7603852842426764917L;

	private String id;

	private String webName;

	@ApiModelProperty(value = "视频url", required = true)
	@NotBlank(message = "视频地址不能为空")
	private String website;

	@ApiModelProperty(value = "所属法人编码", required = true)
	@NotBlank(message = "所属法人编码不能为空")
	private String legalCode;

	private Integer hits;

	private int pageType = 2;

}
